Skip to content

Conversation

@brechtvl
Copy link
Contributor

@brechtvl brechtvl commented Jan 6, 2025

Description

After reduction of shared dependencies in #1890, there is an unresolved OSLCompiler constructor symbol when linking liboslexec. Avoid including the oslcomp_pvt.h header that causes this.

Tests

N/A

Checklist:

  • I have read the contribution guidelines.
  • I have updated the documentation, if applicable.
  • I have ensured that the change is tested somewhere in the testsuite (adding new test cases if necessary).
  • My code follows the prevailing code style of this project. If I haven't
    already run clang-format v17 before submitting, I definitely will look at
    the CI test that runs clang-format and fix anything that it highlights as
    being nonconforming.

After reduction of shared dependencies in AcademySoftwareFoundation#1890, there is an unresolved
OSLCompiler constructor symbol when linking liboslexec. Avoid including
the oslcomp_pvt.h header that causes this.

Signed-off-by: Brecht Van Lommel <[email protected]>
@brechtvl brechtvl force-pushed the fix-oslcomp-shared-windows branch from 8b10ad2 to 35cb276 Compare January 6, 2025 20:52
@brechtvl
Copy link
Contributor Author

brechtvl commented Jan 6, 2025

I have not actually tested this on Windows, but I'm fairly confident so I'll post this PR for others to try in #1860.

@LazyDodo
Copy link

LazyDodo commented Jan 6, 2025

Tested it , builds and links.

@lgritz lgritz merged commit 3317350 into AcademySoftwareFoundation:main Jan 6, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants